#ifdef _DEBUG
#ifndef CUBE_DEBUGDIALOG_H_
#define CUBE_DEBUGDIALOG_H_

class InfoForm;
class MapForm;
class Level;

enum eTabNumber
{
	TAB_INFO,
	TAB_MAP,
	TAB_MAX
};

struct MAP_DESC
{
	int			nGrid;
	char**		ppMap;
};

class DebugDialog
{
public :
	DebugDialog();
	~DebugDialog();

	void				ActivateTab( int index );
	void				ResetDialogPos();

	HWND				GetWindowsHandle(){ return _hWnd; }
	HWND				GetTabCtrlHandle(){ return _hTabCtrl; }

	void				SetFPS( float fps );
	void				SetLevelInfos( Level* pLevel );
	void				SetMapInfo( const MAP_DESC& desc );

private :
	std::vector< HWND > _formHandles;
	char				_fps[32];
	HWND				_hWnd;
	HWND				_hTabCtrl;
	InfoForm*			_pInfoForm;
	MapForm*			_pMapForm;
};

#endif
#endif